﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;

namespace whereIsTheDonutGame
{

    public class Donut
    {
        public float aspectRatio;
        public bool recieved { get; set; }
        public Model Model { get; set; }
        public Vector3 Position { get; set; }
        public BoundingBox BoundingBox { get; set; }

        public Donut()
        {
            recieved = false;
            Model = null;
            BoundingBox = new BoundingBox();
        }

        public void LoadContent(ContentManager content)
        {
            Model = content.Load<Model>("donut_try");
            Position = Vector3.Down;
        }

        public void UpdateBoundingBox()
        {
            BoundingBox = new BoundingBox(new Vector3(Position.X -1.5f, Position.Y - 1.5f, Position.Z - 1.5f), new Vector3(Position.X + 1.5f, Position.Y + 1.5f, Position.Z + 1.5f));

           
        }
    }
}
